using System;
using System.Collections.Generic;
using System.Text;
using Emlyn.Common.Tools.BusinessLayer;

namespace Emlyn.Website.Articles
{
    public class xArticleListMod : BaseMod<xArticleList, Guid, xArticleListDataLayer>
    {
        public xArticleListMod()
            : base(new xArticleListDataLayer())
        {
        }

        public void AddChildArticleList(Guid aArticleListID, Guid aChildArticleListID)
        {
            _dl.AddChildArticleList(aArticleListID, aChildArticleListID);
        }

        public void RemoveChildArticleList(Guid aArticleListID, Guid aChildArticleListID)
        {
            _dl.RemoveChildArticleList(aArticleListID, aChildArticleListID);
        }

        public void AddParentArticleList(Guid aArticleListID, Guid aParentArticleListID)
        {
            _dl.AddParentArticleList(aArticleListID, aParentArticleListID);
        }

        public void RemoveParentArticleList(Guid aArticleListID, Guid aParentArticleListID)
        {
            _dl.RemoveParentArticleList(aArticleListID, aParentArticleListID);
        }

        public void AddArticleToArticleList(Guid aArticleListID, Guid aArticleID)
        {
            _dl.AddArticleToArticleList(aArticleListID, aArticleID);
        }

        public void RemoveArticleFromArticleList(Guid aArticleListID, Guid aArticleID)
        {
            _dl.RemoveArticleFromArticleList(aArticleListID, aArticleID);
        }
    }
}
